package com.ruoyi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 通知公告对象 notice
 * 
 * @author ruoyi
 * @date 2020-10-07
 */
public class UserNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Integer id;

    /** 	类别 */
    @Excel(name = "	类别")
    private Long typeCode;

    /** 	标题 */
    @Excel(name = "	标题")
    private String name;

    /** 	内容 */
    @Excel(name = "	内容")
    private String content;

    /** 	发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "	发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDt;

    /** 	学校标识 */
    @Excel(name = "	学校标识")
    private Long collegeId;

    /** 	学校编号 */
    @Excel(name = "	学校编号")
    private String collegeCode;

    /** 	学校名称 */
    @Excel(name = "	学校名称")
    private String collegeName;

    /**
     * 通知封面
     */
    private String coverImg;

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTypeCode(Long typeCode) 
    {
        this.typeCode = typeCode;
    }

    public Long getTypeCode() 
    {
        return typeCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCreateDt(Date createDt) 
    {
        this.createDt = createDt;
    }

    public Date getCreateDt() 
    {
        return createDt;
    }
    public void setCollegeId(Long collegeId) 
    {
        this.collegeId = collegeId;
    }



    public Long getCollegeId() 
    {
        return collegeId;
    }
    public void setCollegeCode(String collegeCode)
    {
        this.collegeCode = collegeCode;
    }

    public String getCollegeCode() 
    {
        return collegeCode;
    }
    public void setCollegeName(String collegeName)
    {
        this.collegeName = collegeName;
    }

    public String getCollegeName() 
    {
        return collegeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeCode", getTypeCode())
            .append("name", getName())
            .append("content", getContent())
            .append("createDt", getCreateDt())
            .append("collegeId", getCollegeId())
            .append("collegeCode", getCollegeCode())
            .append("collegeName", getCollegeName())
            .toString();
    }
}
